package com.yaj.myfactorysupport.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wei
 * @since 2021-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_LOT_TRACE")
@ApiModel(value="TLotTrace对象", description="")
public class TLotTrace implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "?????????UID")
    @TableId(value = "T_LOT_TRACE_UID", type = IdType.AUTO)
    private BigDecimal tLotTraceUid;

    @ApiModelProperty(value = "???")
    @TableField("ITEM_ID")
    private String itemId;

    @ApiModelProperty(value = "???")
    @TableField("ITEM_NAME")
    private String itemName;

    @ApiModelProperty(value = "????ID")
    @TableField("ITEM_LOT_ID")
    private String itemLotId;

    @ApiModelProperty(value = "?ID???")
    @TableField("ITEM_ID_TYPE")
    private String itemIdType;

    @ApiModelProperty(value = "????")
    @TableField("PART_ID")
    private String partId;

    @ApiModelProperty(value = "????")
    @TableField("PART_NAME")
    private String partName;

    @ApiModelProperty(value = "????????")
    @TableField("PART_LOCATION")
    private String partLocation;

    @ApiModelProperty(value = "?????ID")
    @TableField("PART_LOT_ID")
    private String partLotId;

    @ApiModelProperty(value = "?????NO")
    @TableField("MFG_LOT_NO")
    private String mfgLotNo;

    @ApiModelProperty(value = "??????")
    @TableField("REV_SYM")
    private String revSym;

    @ApiModelProperty(value = "ID???")
    @TableField("ID_TYPE")
    private String idType;

    @ApiModelProperty(value = "??")
    @TableField("QTY")
    private BigDecimal qty;

    @ApiModelProperty(value = "????")
    @TableField("SEQ_NO")
    private BigDecimal seqNo;

    @ApiModelProperty(value = "??????ID")
    @TableField("OLD_PART_LOT_ID")
    private String oldPartLotId;

    @ApiModelProperty(value = "?????ID")
    @TableField("TOP_LOT_ID")
    private String topLotId;

    @ApiModelProperty(value = "??????")
    @TableField("TOPMOST_FLAG")
    private String topmostFlag;

    @ApiModelProperty(value = "?????UID")
    @TableField("T_ORDER_UID")
    private BigDecimal tOrderUid;

    @ApiModelProperty(value = "???NO")
    @TableField("ORDER_NO")
    private String orderNo;

    @ApiModelProperty(value = "??")
    @TableField("BR_NO")
    private Integer brNo;

    @ApiModelProperty(value = "????NO")
    @TableField("MF_ORD_NO")
    private BigDecimal mfOrdNo;

    @ApiModelProperty(value = "???ID")
    @TableField("LINE_ID")
    private String lineId;

    @ApiModelProperty(value = "????")
    @TableField("LINE_NAME")
    private String lineName;

    @ApiModelProperty(value = "????ID")
    @TableField("SUBMF_ID")
    private String submfId;

    @ApiModelProperty(value = "?????")
    @TableField("SUBMF_NAME")
    private String submfName;

    @ApiModelProperty(value = "????")
    @TableField("USED_DTIME")
    private Date usedDtime;

    @ApiModelProperty(value = "????")
    @TableField("NOTES")
    private String notes;

    @ApiModelProperty(value = "?????")
    @TableField("ACTIVE_FLAG")
    private String activeFlag;

    @ApiModelProperty(value = "???ID")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "????")
    @TableField(fill = FieldFill.INSERT)
    private Date createTimestamp;

    @ApiModelProperty(value = "???ID")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "????")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTimestamp;


}
